package guoanmaker.operator.business.service;


import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import guoanmaker.operator.business.model.OperatorComplaintType;
import guoanmaker.operator.business.model.OperatorDepartment;
import guoanmaker.operator.business.model.OperatorQuestionOrder;

public interface OperatorQuestionOrderServiceInterface {
	OperatorQuestionOrder saveOperatorQuestionOrder(OperatorQuestionOrder operatorQuestionOrder);
	Page<OperatorQuestionOrder> getOperatorQuestionOrderBytime(Integer page, Integer size);
	Page<OperatorQuestionOrder> getOperatorQuestionOrderByorderStatus(Integer page, Integer size,String orderStatus);
	Page<OperatorQuestionOrder> getOperatorQuestionOrderBytimeAnddepartmentId(Integer page, Integer size,String departmentId);
	Page<OperatorQuestionOrder> getOperatorQuestionOrderBytimeAnddepartmentIdAndStatus(Integer page, Integer size,String departmentId,String orderStatus);
	Map<String,Object> selectOperatorQuestionOrderById(String id);
	int updateOperatorQuestionOrder(Integer stauts,String userid,String id,String orderStatus,String departmentId,String disposeOpinion,String disposeWay,
			String refund,Double money);
	List<OperatorComplaintType> getComplaintType();
	List<OperatorDepartment>  findByStauts();
}
